﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Demo01
    {
        public int gonghao { get; set; }
        public string  name { get; set; }
        public string  bumen { get; set; }

        public void yuangong()
        {
            Console.WriteLine("用户的工号{0}，用户的姓名{1}，部门信息{2}",this.gonghao,this.name,this.bumen);
        }
        public Demo01()
        { 
            
        }
        public Demo01(int gonghao,string name,string bumen)
        {
            this.gonghao = gonghao;
            this.name = name;
            this.bumen = bumen;
        }
    }
}
